package com.ruoyi.edh.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.utils.spring.SpringUtils;
import com.ruoyi.edh.mapper.EdhMicroshopGoodsMapper;
import com.ruoyi.edh.mapper.EdhShoppingCartMapper;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.SearchEntity;

import java.util.Map;

/**
 * 易订货-微店上架商品对象 edh_microshop_goods
 * 
 * @author xxx
 * @date 2020-09-02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("易订货-微店上架商品")
public class EdhMicroshopGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    @ApiModelProperty("商品id")
    private Long goodsId;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Integer sort;

    /** 微店id */
    @Excel(name = "微店id")
    @ApiModelProperty("微店id")
    private Long microshopId;

    /** 是否删除0否1是 */
    @ApiModelProperty("微店id")
    private Integer delFlag;

    /** 是否上下架 0否1是 */
    @ApiModelProperty("是否上下架 0否1是")
    private Integer onSale;

}
